package com.gitee.lougnib.hellowebim.common.dto;

import lombok.Data;

@Data
public class RestResponseDto {

	public static RestResponseDto ok() {
		return ok(null);
	}

	public static RestResponseDto ok(Object data) {
		RestResponseDto dto = new RestResponseDto();
		dto.setStatus(0);
		dto.setData(data);
		return dto;
	}

	private int status;

	private String msg;

	private Object data;

}
